Fedora 14
Sponsored Link

Run Instance with a user
2010/11/23
  Run instance with a user and login on it.
[fedora@frontend ~]$
euca-describe-images -a
# confirm added images

IMAGE
eki-A87217CC
centos-kernel-bucket/vmlinuz-2.6.28-11-generic.manifest.xml   admin   available   public   x86_64   kernel


IMAGE
emi-1D0215B5
centos-image-bucket/centos.5-3.x86-64.img.manifest.xml   admin   available   public   x86_64   ramdisk


IMAGE
eri-1095191B
centos-ramdisk-bucket/initrd.img-2.6.28-11-generic.manifest.xml   admin   available   public   x86_64   machine


[fedora@frontend ~]$
euca-run-instances -k my_key --kernel eki-A87217CC --ramdisk eri-1095191B emi-1D0215B5

[fedora@frontend ~]$
euca-describe-instances

RESERVATION
r-52F10925
fedora
default

INSTANCE
i-501A091C
emi-1D0215B5
10.0.0.201    10.0.0.175    running    my_key

 
0    m1.small    2010-11-24T11:44:20.049Z    frontend    eki-A87217CC    eri-1095191B

[fedora@frontend ~]$
ssh -i ~/.euca/my_key -l root 10.0.0.201

-bash-3.2#
# just logined
 
Tweet